package com.ruoyi.his.mapper;

import com.ruoyi.his.domain.HisDepartment;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


import com.ruoyi.his.domain.HisDepartment;

/**
 * 挂号收费Mapper接口
 * 
 * @author ruoyi
 * @date 2021-11-04
 */
@Repository
public interface HisDepartmentMapper 
{
    /**
     * 查询挂号收费
     * 
     * @param id 挂号收费主键
     * @return 挂号收费
     */
    public HisDepartment selectHisDepartmentById(String id);


    /**
     * 根据科室编号查询查找医生
     * @param id
     * @return
     */
    public List<Map<String,Object>> selectDoctorByDepartment(String id);






    /**
     * 查询挂号收费列表
     * 
     * @param hisDepartment 挂号收费
     * @return 挂号收费集合
     */
    public List<HisDepartment> selectHisDepartmentList(HisDepartment hisDepartment);

    /**
     * 新增挂号收费
     * 
     * @param hisDepartment 挂号收费
     * @return 结果
     */
    public int insertHisDepartment(HisDepartment hisDepartment);

    /**
     * 修改挂号收费
     * 
     * @param hisDepartment 挂号收费
     * @return 结果
     */
    public int updateHisDepartment(HisDepartment hisDepartment);

    /**
     * 删除挂号收费
     * 
     * @param id 挂号收费主键
     * @return 结果
     */
    public int deleteHisDepartmentById(String id);

    /**
     * 批量删除挂号收费
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHisDepartmentByIds(String[] ids);


}


